package tds.model24.version1;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName Client
 * @Description 命令模式简单代码
 * @author tds
 * @Date 2020/2/6 21:24
 * @version 1.0.0
 */
public class Client {
    public static void main(String[] args) {
        Command command = new ConcreteCommand(new Receiver());
        Invoker invoker = new Invoker(command);
        invoker.executeCommand();
    }
}
